﻿module Lhz.Page.DataManagement {
    export class ApplicationDetail extends DetailPage<Lhz.Entity.ServiceCenter.Application> {
        constructor() {
            super({
                serviceNo: "application",
                mappingOptionsArray: [
                    { propertyName: "No", selector: "[name=No]" },
                    { propertyName: "Name", selector: "[name=Name]" },
                    { propertyName: "Description", selector: "[name=Description]" }
                ],
                createItem: function (dp) {
                    return new Lhz.Entity.ServiceCenter.Application();
                }
            });
        }
    }
    $(function () {
        new ApplicationDetail();
    });
}
